<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>确认预约单</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${basePath!}/genius/layui/css/layui.css" media="all">
</head>
<body>

<div class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
    <input type="hidden" id="id" name="id"/>
    <input type="hidden" id="driverCount" name="driverCount"/>

    <div class="layui-form-item">
        <label class="layui-form-label">预约编号</label>
        <div class="layui-input-inline">
            <input type="text" name="reservationNumber" id="reservationNumber" readonly autocomplete="off"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">供应商编号</label>
        <div class="layui-input-inline">
            <input type="text" name="supplierNumber" id="supplierNumber" readonly autocomplete="off"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">供应商名称</label>
        <div class="layui-input-inline">
            <input type="text" name="supplierName" id="supplierName" readonly autocomplete="off"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">订单号</label>
        <div class="layui-input-inline" id="orderNumbers">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">品项数</label>
        <div class="layui-input-inline">
            <input type="text" name="gdsCount" id="gdsCount" readonly autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">件数</label>
        <div class="layui-input-inline">
            <input type="text" name="gdsNumber" id="gdsNumber" readonly autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">托盘数</label>
        <div class="layui-input-inline">
            <input type="text" name="trayCount" id="trayCount" lay-verify="required|number" placeholder="填入托盘数量"
                   autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">预约送货时间</label>
        <div class="layui-input-inline">
            <input type="text" name="estimatedArrivalTime" readonly id="estimatedArrivalTime" autocomplete="off"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">确认送货时间</label>
        <div class="layui-input-inline">
            <input type="text" name="confirmArrivalTime" id="confirmArrivalTime" onchange="dateChange" lay-filter="confirmArrivalTime" lay-verify="required|arrivaltime"
                   autocomplete="off" class="layui-input" >
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">预约收货时长</label>
        <div class="layui-input-inline">
            <select id="durationTime" name="confirmOverTime" lay-filter="durationSelect" lay-verify="required|number" autocomplete="off"
                    class="layui-input">
                <option >请选择</option>
                <option value="30">0.5小时</option>
                <option value="60">1小时</option>
                <option value="90">1.5小时</option>
                <option value="120">2小时</option>
                <option value="150">2.5小时</option>
                <option value="180">3小时</option>
                <option value="210">3.5小时</option>
            </select>
            <!--      <input type="text" name="confirmOverTime" id="confirmOverTime" lay-verify="required|number" autocomplete="off" class="layui-input"/>-->
        </div>
    </div>


    <div id="cars">


    </div>





    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-menu-edit-submit" id="LAY-menu-edit-submit" value="确认此预约单">
    </div>

    <div style="height: 300px"></div>

</div>

<script src="${basePath!}/genius/layui/layui.js"></script>
<script>
    layui.config({
        base: '${basePath!}/genius/' //静态资源所在路径
        , host: '${basePath!}'//项目访问路径
    }).extend({
        index: 'lib/index' //主入口模块
        , confirm: '/reservation/receiveManager/confirm'
    }).use(['index', 'confirm'])


</script>
</body>
</html>

